//
//  User.m
//  iTweet
//
//  Created by Dang Duc Nam (namk42c@yahoo.com) on 5/12/09.
//  Copyright 2009 Unitech. All rights reserved.
//


#import "User.h"


@implementation User
@synthesize created_at;
@synthesize favourites_count;
@synthesize followers_count;
@synthesize following;
@synthesize friends_count;
@synthesize ident;
@synthesize name;
@synthesize location;
@synthesize description;
@synthesize notifications;
@synthesize profile_background_color;
@synthesize profile_background_image_url;
@synthesize profile_background_tile;
@synthesize profile_image_url;
@synthesize profile_link_color;
@synthesize profile_sidebar_border_color;
@synthesize profile_sidebar_fill_color;
@synthesize profile_text_color;
@synthesize protected;
@synthesize screen_name;
@synthesize statuses_count;
@synthesize statuses;

- (UIImage *)image {
	
	return nil;
}

- (UIImage *)imageForFriendProfileView {
	return [UIImage imageNamed:@"Solid_256.png"];
}
- (UIImage *)flipperImageForFriendProfileNavigationItem:(UIImage *)image {
	CGSize itemSize=CGSizeMake(30.0,30.0);
	UIGraphicsBeginImageContext(itemSize);
	
	CGRect elementSymbolRectangle = CGRectMake(0,0, itemSize.width, itemSize.height);
	[image drawInRect:elementSymbolRectangle];
	
	UIImage *theImage=UIGraphicsGetImageFromCurrentImageContext();
	UIGraphicsEndImageContext();
	return theImage;
}
@end
